package com.ruoyi.projects.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 积分产品对象 sl_integral_pro
 * 
 * @author yangz
 * @date 2024-12-01
 */
public class SlIntegralPro extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 积分商品id */
    private Long id;

    /** 积分商品 */
    @Excel(name = "积分商品")
    private String integralProName;

    /** 积分商品封面图 */
    @Excel(name = "积分商品封面图")
    private String integralProImg;

    /** 积分值 */
    @Excel(name = "积分值")
    private BigDecimal integralProIntegral;

    /** 现金 */
    @Excel(name = "现金")
    private BigDecimal integralProMoney;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal integralProOldMoney;

    /** 备注 */
    @Excel(name = "备注")
    private String integralProText;

    /** 是否上架（0未上架，1已上架） */
    @Excel(name = "是否上架", readConverterExp = "0=未上架，1已上架")
    private String ifFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIntegralProName(String integralProName) 
    {
        this.integralProName = integralProName;
    }

    public String getIntegralProName() 
    {
        return integralProName;
    }
    public void setIntegralProImg(String integralProImg) 
    {
        this.integralProImg = integralProImg;
    }

    public String getIntegralProImg() 
    {
        return integralProImg;
    }
    public void setIntegralProIntegral(BigDecimal integralProIntegral) 
    {
        this.integralProIntegral = integralProIntegral;
    }

    public BigDecimal getIntegralProIntegral() 
    {
        return integralProIntegral;
    }
    public void setIntegralProMoney(BigDecimal integralProMoney) 
    {
        this.integralProMoney = integralProMoney;
    }

    public BigDecimal getIntegralProMoney() 
    {
        return integralProMoney;
    }
    public void setIntegralProOldMoney(BigDecimal integralProOldMoney) 
    {
        this.integralProOldMoney = integralProOldMoney;
    }

    public BigDecimal getIntegralProOldMoney() 
    {
        return integralProOldMoney;
    }
    public void setIntegralProText(String integralProText) 
    {
        this.integralProText = integralProText;
    }

    public String getIntegralProText() 
    {
        return integralProText;
    }
    public void setIfFlag(String ifFlag) 
    {
        this.ifFlag = ifFlag;
    }

    public String getIfFlag() 
    {
        return ifFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("integralProName", getIntegralProName())
            .append("integralProImg", getIntegralProImg())
            .append("integralProIntegral", getIntegralProIntegral())
            .append("integralProMoney", getIntegralProMoney())
            .append("integralProOldMoney", getIntegralProOldMoney())
            .append("integralProText", getIntegralProText())
            .append("ifFlag", getIfFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
